@import url('./all.less');
//轮播
.banner{
    width: 100%;
    .swiper{
        width: 100%;
        img{
            width: 100%;
        }
        .swiper-button-next{
            position: absolute;
            left: 50%;
            transform: translateX(600px);
            color: #fff;
        }
        .swiper-button-prev{
            position: absolute;
            left: 50%;
            transform: translateX(-400px);
            color: #fff;
        }
        .swiper-pagination{
            margin-bottom: 28px;
            .swiper-pagination-bullet{
                width: 17px;
                height: 17px;
                background-color:rgba(255, 255, 255, 0.8) ;
            }
            .swiper-pagination-bullet-active{
                background-color: #f16a12;
            }
        }
    }
}
//主体
.subject{
    .conter{
        padding-top: 19px;
        //限时秒杀
        .subject_box{
            width: 100%;
            .subject_box_1{
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-bottom: 9px;
                border-bottom: 1px solid #999;
                .subject_box_1_left{
                    span:nth-of-type(1){
                        font-size: 23px;
                        color: #e90e12;
                    }
                    span:nth-of-type(2){
                        font-size: 13px;
                        color: #333;
                        margin-left: 10px;
                    }
                    em{
                        i{
                            font-size: 15px;
                            color: #fff;
                            background-color: #000;
                            padding: 3px;
                            margin: 0 5px;
                        }
                    }
                }
                .subject_box_1_right{
                    span:nth-of-type(1){
                        padding: 2px 8px;
                        border-radius: 13px;
                        color: #fff;
                        background-image:linear-gradient(193.07deg,#fc2324 0%,#f26b11 100%);
                    }
                    span:nth-of-type(2){
                        font-size: 15px;
                        color: #333;
                        margin-left: 28px;
                    }
                }
            }
        }
        .subject_box_2{
            display: flex;
            margin-top: 22px;
            a{
                flex: 1;
                display: flex;
                flex-direction: column;
                img{
                    width: 167px;
                }
                P:nth-of-type(1){
                    font-size: 13px;
                    color: #333;
                    margin-top: 8px;
                }
                P:nth-of-type(2){
                    margin-top: 8px;
                    font-size: 20px;
                    color: #fd6600;
                    del{
                        font-size: 13px;
                        color: #666;
                    }
                }
                P:nth-of-type(3){
                    display: flex;
                    align-items: center;
                    margin-top: 6px;
                    span{
                        width: 102px;
                        height: 4px;
                        background-color: #fbe6ed;
                        position: relative;
                        margin-right: 5px;
                        &::after{
                            content: '';
                            position: absolute;
                            width: 36%;
                            height: 4px;
                            background-color: #ff6e09;
                            top: 0;
                            left: 0;
                        }
                    }
                    i{
                        font-size: 13px;
                        color: #666;
                    }
                }
            }
        }
        //发现好货
        .find{
            margin-top: 40px;
            width: 100%;
            display: flex;
            >a{
                width: 192px;
                height: 263px;
                background:url(../images/bei1.png) no-repeat;
                background-size: cover;
                display: flex;
                justify-content: center;
                span{
                    margin-top: 20px;
                    width: calc(100% - 20px);
                    height: 90px;
                    position: relative;
                    background: url(../images/bei2.png) no-repeat;
                    em{
                        position: absolute;
                        bottom: 10px;
                        left: 20px;
                        font-size: 18px;
                        color: #fff;
                        display: flex;
                        align-items: center;
                        i{
                            margin-left: 5px;
                            width: 16px;
                            height: 16px;
                            background: url(../images/sprite.png) 0px -16px;
                        }
                    }
                }
            }
            .find_box{
                width: calc(100% -  192px);
                padding: 26px;
                box-sizing: border-box;
                overflow: hidden;
                ul{
                    display: flex;
                    
                    li{
                         margin-right: 51px;
                        a{
                            p{
                                font-size: 13px;
                                color: #333;
                                text-align: center;
                                margin-bottom: 20px;
                            }
                            img{
                                width: 150px;
                            }
                        }
                        &:last-child{
                            margin-right: 0;
                        }
                    }
                }
                >p{
                    width: 968px;
                    height: 2px;
                    margin-top: 40px;
                    background-color: rgba(153, 153, 153, 0.5);
                    position: relative;
                    span{
                        position: absolute;
                        left: 0;
                        top: -4px;
                        width: 98px;
                        height: 8px;
                        background-color: #ff6e09;
                        border-radius: 8px;
                    }
                }
            }
        }
        //年货节
        .year{
            width: 100%;
            margin-top: 28px;
            height: 102px;
            display: flex;
            a{
                flex: 1;
                height: 100%;
                background-color: #f8edcf;
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                &:nth-of-type(2){
                    background-color: #d4f0f3; 
                }
                &:nth-of-type(3){
                    background-color: #dbd2e5; 
                }
                em{
                    display: flex;
                    flex-direction: column;
                    i:nth-of-type(1){
                        font-size: 18px;
                        color: #333;
                    }
                    i:nth-of-type(2){
                        font-size: 15px;
                        color: rgba(51, 51, 51, 0.8);
                    }
                }
                img{
                    width: 146px;
                    height: 96px;
                }
            }
        }
        //排行榜
        .seniority{
            margin-top: 18px;
            width: 100%;
            display: flex;
            height: 430px;
            .seniority_box1{
                width: 394px;
                height: 100%;
                .seniority_box1_1{
                    background-color: #fcf6f6;
                    padding: 8px 0;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    span:nth-of-type(1){
                        font-size: 20px;
                        color: #dd574c;
                        border-left: 5px solid #dd574c;
                        padding-left: 13px;
                        box-sizing: border-box;
                    }
                    span:nth-of-type(2){
                        display: flex;
                        align-items: center;
                        font-size: 15px;
                        color: #333;
                        img{
                            width: 17px;
                            margin-left: 2px;
                        }
                    }
                }
                .seniority_box1_2{
                    .seniority_box1_2_1{
                        height: 48px;
                        display: flex;
                        align-items: center;
                        border-bottom: 1px solid #999999;
                        li{
                            font-size: 13px;
                            color: #333;
                            margin-right: 50px  ;
                        }
                        li.active{
                            background-color: #e76565;
                            color: #fff;
                            padding: 2px 5px;
                            border-radius: 12px;
                        }
                    }
                    .seniority_box1_2_2{
                        li{
                            >div{
                                margin-top: 13px;
                                display: flex;
                                img{
                                    width: 98px;
                                }
                                >div{
                                    padding: 5px 31px 0px 17px;
                                    p:nth-of-type(1){
                                        font-size: 13px;
                                        color: #333;
                                    }
                                    p:nth-of-type(2){
                                        margin-top: 13px;
                                        display: flex;
                                        align-items: center;
                                        justify-content: space-between;
                                        span:nth-of-type(1){
                                            font-size: 15px;
                                            color: #c04d54;
                                        }
                                        span:nth-of-type(2){
                                            padding: 2px 5px;
                                            background-color: #ffdadb;
                                            color:#c04d54;
                                            font-size:12px;
                                            border-radius: 8px;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .seniority_box2{
                margin-left: 5px;
                width: 798px;
                height: 100%;
                .seniority_box2_1{
                    background-color: #f8faf9;
                    padding: 8px 0;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    span:nth-of-type(1){
                        font-size: 20px;
                        color: #4aa2d2;
                        border-left: 5px solid #4aa2d2;
                        padding-left: 13px;
                        box-sizing: border-box;
                    }
                    span:nth-of-type(2){
                        display: flex;
                        align-items: center;
                        font-size: 15px;
                        color: #333;
                        img{
                            width: 17px;
                            margin-left: 2px;
                        }
                    }
                }
                .seniority_box2_2{
                    display: flex;
                    flex-wrap: wrap;
                    div{
                        width: 199px;
                        height: 192px;
                        display: flex;
                        align-items: center;
                        flex-direction: column;
                        background-color:#ffffff;
                        box-shadow:0px 1px 1px rgba(0, 0, 0, 0.16);
                        img{
                            width: 133px;
                        }
                        p:nth-of-type(1){
                            font-size: 13px;
                            color: #333;
                        }
                        p:nth-of-type(2){
                            margin-top: 7px;
                            font-size: 12px;
                            color: #ec3d42;  
                        }
                    }
                }
            }
        }
        // 服装  金融
        .clothing{
            margin-top: 40px;
            display: flex;
            .clothing_box1{
                flex: 1;
                >div:nth-of-type(1){
                    width: 100%;
                    height: 48px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    >span{
                        font-size: 20px;
                        color: #bb8cb0;
                        padding-left: 8px;
                        border-left: 4px solid #bb8cb0;
                    }
                    >ul{
                        margin-right: 14px;
                        display: flex;
                        align-items: center;
                        li{
                            a{
                                margin-left: 20px;
                                font-size: 13px;
                                color: #333;
                            }
                        }
                    }
                }
                >div:nth-of-type(2){
                    display: flex;
                    >a{
                        position: relative;
                        img{
                            width: 192px;
                            height: 364px;
                        }
                        span{
                            position: absolute;
                            bottom: 41px;
                            left: 0;
                            width: 161px;
                            height: 61px;
                            line-height: 61px;
                            padding-left: 28px;
                            box-sizing: border-box;
                            background-color: #999999;
                            border-radius: 5px;
                            opacity: 0.5;
                            font-size: 22px;
                            color: #fff;
                        }
                    }
                    >ul{
                        display: flex;
                        flex-wrap: wrap;
                        li{
                            width: 200px;
                            height: 175px;
                            a{
                                display: flex;
                                width: 100%;
                                height: 100%;
                                flex-direction: column;
                                align-items: center;
                                span:nth-of-type(1){
                                    font-size: 15px;
                                    color: #333;
                                    margin-top: 11px;
                                }
                                span:nth-of-type(2){
                                    margin-top: 2px;
                                    font-size: 12px;
                                    color: #bb8cb0;
                                }
                                img{
                                    width: 123px;
                                }
                            }
                        }
                    }
                }
            }
        }
        //猜你喜欢
        .live{
            padding-bottom: 90px;
            margin-top: 50px;
            width: 100%;
            .live_box{
                span{
                    font-size: 20px;
                    color: #bb7520;
                    padding-left: 8px;
                    border-left: 4px solid #bb7520;
                }
            }
            .live_box1{
                margin-top: 3px;
                display: flex;
                width: 100%;
                flex-wrap: wrap;
                >div{
                    margin-bottom: 24px;
                    width: 203px;
                    margin-right: 45px;
                    img{
                        width: 203px;
                    }
                    p{
                        font-size: 12px;
                        color: #666;
                        line-height: 21px;
                        position: relative;
                        i{
                            position: absolute;
                            right: 0;
                            bottom: 0;
                            color: #ff7800;
                        }
                    }
                    span{
                        font-size: 18px;
                        color: #ff7800;
                    }
                }
                >div:nth-of-type(5n){
                    margin-right: 0;
                }
            }
        }
    }
}

//电梯导航
.nav{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-700px);
    z-index: 999;
    border: 1px solid#4d707070;
    width: 71px;
    background-color: #fff;
    li{
        text-align: center;
        line-height: 30px;
        font-size: 12px;
        color: #333;
        border-bottom: 1px solid #4d707070; ;
    }
    li:hover{
        background-color: #fe9900;
        color: #fff;
    }
}